/*
 * Queue.h
 *
 *  Created on: 20/06/2013
 *      Author: marcio
 */

#ifndef QUEUE_H_
#define QUEUE_H_

template<typename T>
typedef struct stq{
	T* elem;
	struct stn* next;
}StqNode;


template<typename T>
class Queue {
private:
	StqNode<T> root;

public:
	Queue();

	virtual ~Queue();

	T* poll();

	T* remove();

	void add(T* elem);
};

#endif /* QUEUE_H_ */
